import request from '@/sheep/request';

export default {
    // 项目：列表接口
    projectList: (params) =>
    request({
      url: '/api/project/index',
      method: 'GET',
      custom: {
        auth: true,
      },
      params
    }),

    // 项目：排班接口
    scheduleAdd: (data) => 
    request({
      url: '/api/schedule/add',
      method: 'POST',
      custom: {
        auth: true,
        showSuccess: true
      },
      data
    }),
    getScheduleList:(params) => 
    request({
      url: '/api/schedule/index',
      method: 'GET',
      custom: {
        auth: true,
        showSuccess: false
      },
      params
    }),
    //任务列表
  getScheduleTaskList:(params) => 
    request({
      url: '/api/schedule/task_list',
      method: 'GET',
      custom: {
        auth: true,
        showSuccess: false
      },
      params
    }),

    
}